home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2000 June / Internet Magazine June 2000.iso / pc / software / windows / building / wirefusion / html / blur / bob102.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-01-03  |  2.0 KB  |  72 lines

  1. import java.awt.Component;
  2. import java.awt.Container;
  3. import java.awt.Event;
  4. import java.awt.Frame;
  5. import java.net.MalformedURLException;
  6. import java.net.URL;
  7. import java.util.Date;
  8.  
  9. public class bob102 extends bob {
  10.    // $FF: renamed from: a java.lang.String
  11.    private String field_0 = "_self";
  12.  
  13.    // $FF: renamed from: i () void
  14.    public void method_0() {
  15.       ((bob)this).sl(0, 41);
  16.       ((bob)this).sl(1, 42);
  17.    }
  18.  
  19.    public void setCursor(int var1) {
  20.       Container var2;
  21.       for(var2 = super.a.getParent(); var2 != null && !(var2 instanceof Frame); var2 = ((Component)var2).getParent()) {
  22.       }
  23.  
  24.       ((Frame)var2).setCursor(var1);
  25.    }
  26.  
  27.    // $FF: renamed from: he (java.awt.Event) void
  28.    public void method_1(Event var1) {
  29.       if (var1.id == 41) {
  30.          ((bob)this).ce((bob)null, 1);
  31.       } else if (var1.id == 42) {
  32.          ((bob)this).ce((bob)null, 2);
  33.       } else if (var1.id == 50) {
  34.          bob12 var2 = (bob12)var1.arg;
  35.          super.a.getAppletContext().showStatus(((bob12)var1.arg).value);
  36.       } else if (var1.id == 51) {
  37.          bob12 var5 = (bob12)var1.arg;
  38.  
  39.          try {
  40.             URL var3 = new URL(super.a.getDocumentBase(), var5.value);
  41.             super.a.getAppletContext().showDocument(var3, this.field_0);
  42.          } catch (MalformedURLException var4) {
  43.             System.out.println(var4);
  44.          }
  45.       } else if (var1.id == 52) {
  46.          this.field_0 = ((bob12)var1.arg).value;
  47.       } else if (var1.id == 60) {
  48.          String var6 = super.a.getParameter(((bob12)var1.arg).value);
  49.          if (var6 == null) {
  50.             var6 = "?";
  51.          }
  52.  
  53.          ((bob)this).ce(new bob12(var6), 3);
  54.       } else if (var1.id == 61) {
  55.          Date var7 = new Date();
  56.          ((bob)this).ce(new bob10((double)(var7.getYear() + 1900)), 10);
  57.          ((bob)this).ce(new bob10((double)(var7.getMonth() + 1)), 11);
  58.          ((bob)this).ce(new bob10((double)var7.getDate()), 12);
  59.          ((bob)this).ce(new bob10((double)var7.getDay()), 13);
  60.          ((bob)this).ce(new bob10((double)var7.getHours()), 14);
  61.          ((bob)this).ce(new bob10((double)var7.getMinutes()), 15);
  62.          ((bob)this).ce(new bob10((double)var7.getSeconds()), 16);
  63.          ((bob)this).ce(new bob10((double)var7.getTime()), 17);
  64.          ((bob)this).ce(new bob12(var7.toString()), 18);
  65.          ((bob)this).ce(new bob12(var7.toLocaleString()), 19);
  66.       } else {
  67.          this.setCursor(var1.id - 1);
  68.       }
  69.  
  70.    }
  71. }
  72.